home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 January / macpower199701.bin / AMUG / Programming_10 / Videotoolbox 96-08-22-c.sit / VideoToolbox / (Utilities) / CVNetConvert / speeddex.fmt < prev    next >
Encoding:
Text File  |  1992-06-17  |  3.1 KB  |  73 lines

  1. $L, $F$T$A$T$I
  2.  
  3.  
  4. Filename: speeddex.fmt
  5. Example of output:
  6. Abramov, Israel    ixrbc@cunyvm.bitnet    Brooklyn College
  7.                ^                   ^
  8.               TAB                 TAB
  9.  
  10. This file specifies format conversion from CVNet master list to
  11. TAB-separated ASCII format used by NeXT SpeedDeX, a Rolodex program.
  12. If this is the format you want, rename this file to "cvnetcnv.fmt".
  13.  
  14. ---------------------------------------------------------------------------
  15. To Prepare Conversion Format Specification File:
  16.  
  17. The first line of the format file specifies the record format. You may use 
  18. the following variable names. All other characters not listed below will 
  19. be written out to the output as is.
  20.  
  21. $L -- last name
  22. $F -- first name & initial
  23. $I -- institutional affiliation
  24. $A -- address (e-mail)
  25. $T -- TAB character
  26. $N -- NEW LINE character (LF for UNIX, CRLF for MSDOS)
  27. $Cnn -- advance to column nn if possible (if not past it already)
  28.  
  29. For example, this format line
  30.     $L$C12$F$C22($I)$C43<$A>,
  31. produces a file suitable for UNIX "mail/sendmail":
  32.     Abramov    Israel    (Brooklyn College)   <ixrbc@cunyvm.bitnet>,
  33.  
  34. On the second line, a line beginning with $M may appear optionally. If present,
  35. it specifies the output file's Macintosh file type and creator (ignored unless 
  36. the program is running on a Mac).  If not present, the file type/creator
  37. will be set to that of MacWrite text file.
  38.  
  39. After the $M line, or on the second line if $M line does not appear,
  40. a line beginning with $P may appear optionally (which may continue for
  41. multiple lines).  If present, it will specify the prolog, text placed
  42. at the beginning of the output file before all address records.
  43. After this, a line beginning with $E may appear optionally (which
  44. may continue for multiple lines).  If present, it will specify the
  45. epilog, text placed at the end of the output file after all
  46. address records.  
  47.  
  48. $M, $P, $E must appear in that order if all three are present.
  49. Not all of them have to be present, e.g., if no prolog is needed
  50. but epilog is required, $M, $E lines should be entered in that order.
  51.  
  52. There may not be any blank or extraneous lines between the first line
  53. and $M.  Similarly, no blank or extraneous lines should be present
  54. between $M, $P, $E specifications.  However, blank lines are allowed
  55. within the quoted text for the prolog and epilog. 
  56.  
  57. $M, $P, $E must appear at column 1 without any leading spaces.
  58.  
  59. $Mttttcccc -- specify the output file's four-character Macintosh type 
  60.     (e.g. TEXT) and creator (e.g. MACA). The rest of the line is ignored.
  61. $P^prolog text^ -- Place the text between quote chars at the beginning of
  62.     the output file.
  63. $E^epilog text^ -- Place the text between quote chars at the end of the
  64.     output file.
  65.  
  66. The prolog and epilog may extend over many lines. The character that 
  67. immediately follows $P and $E is used as the "quote" character to 
  68. mark the range of text for prolog and epilog.  The quote char may be any 
  69. printable character that is not used in the quoted text for the 
  70. prolog and epilog. The rest of the line after the terminating quote is 
  71. ignored. After the optional $M, $P, and $E the rest of the file is ignored.
  72.  
  73.